Skip to content

Refactored Server.tsx - #36

Open
gamcoh wants to merge 2 commits into
cyrildiagne:masterfrom
gamcoh:master
Open

Refactored Server.tsx#36
gamcoh wants to merge 2 commits into
cyrildiagne:masterfrom
gamcoh:master

Conversation

@gamcoh

@gamcoh gamcoh commented May 8, 2020

Copy link
Copy Markdown
Contributor

Used for of instead of forEach for performance.
Updated Server.tsx to a class.

@gamcoh gamcoh changed the title Refactored Server.tsx, used instead of for performance, transformed… Refactored Server.tsx May 8, 2020
@cyrildiagne

Copy link
Copy Markdown
Owner

Thanks! May I ask why refactor as class? Not sure it's needed here.

@gamcoh

gamcoh commented May 8, 2020

Copy link
Copy Markdown
Contributor Author

Well, it's not needed but it is way more readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants